package com.gp.model.dto;

import java.util.Date;

/**
 * @author: 弓成龙
 * @date : 2018年3月19日
 * @email : gcx909109@sina.cn
 * @description: 评论表
 */
public class Appraises {

  private Long goodsId;
  private Integer userId;
  /** 用户名 **/
  private String username;
  /** 商品评分 1~5 **/
  private Integer goodsScore;
  /** 服务评分 1~5 **/
  private Integer serviceScore;
  /** 时效评分 1~5 **/
  private Integer timeScore;
  /** 点评内容 **/
  private String content;
  /** 是否显示 1:显示 0:隐藏 **/
  private Integer isShow;
  /** 创建时间 **/
  private Date createTime;

  public Appraises() {}

  public Appraises(Long goodsId, Integer userId, Integer goodsScore, Integer serviceScore,
      Integer timeScore, String content, Integer isShow, Date createTime,String username) {
    this.goodsId = goodsId;
    this.userId = userId;
    this.username=username;
    this.goodsScore = goodsScore;
    this.serviceScore = serviceScore;
    this.timeScore = timeScore;
    this.content = content;
    this.isShow = isShow;
    this.createTime = createTime;
  }

  public Long getGoodsId() {
    return goodsId;
  }

  public void setGoodsId(Long goodsId) {
    this.goodsId = goodsId;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public Integer getGoodsScore() {
    return goodsScore;
  }

  public void setGoodsScore(Integer goodsScore) {
    this.goodsScore = goodsScore;
  }

  public Integer getServiceScore() {
    return serviceScore;
  }

  public void setServiceScore(Integer serviceScore) {
    this.serviceScore = serviceScore;
  }

  public Integer getTimeScore() {
    return timeScore;
  }

  public void setTimeScore(Integer timeScore) {
    this.timeScore = timeScore;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public Integer getIsShow() {
    return isShow;
  }

  public void setIsShow(Integer isShow) {
    this.isShow = isShow;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

}

